package com.hicham.ratroid;


import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;

public class Myobjlistener implements LocationListener{
	public static String lat = "0000.000",lon="000.000";
	public Myobjlistener(String lat,String lon){
		super();
		Myobjlistener.lat=lat;
		Myobjlistener.lon=lon;
	}
    @Override       
    public void onLocationChanged(Location loc){ 
        loc.getLatitude();
        loc.getLongitude();
       
        lat=String.valueOf(loc.getLatitude());
        lon =String.valueOf(loc.getLongitude());
         }


    @Override    
    public void onProviderDisabled(String provider)       {    
        }         

    @Override     
     public void onProviderEnabled(String provider)       {     
        }        

     @Override        
     public void onStatusChanged(String provider, int status, Bundle extras)       {


    }        
	
}